<?php
/**
 * Radcodes - SocialEngine Module
 *
 * @category   Application_Extensions
 * @package    Game
 * @copyright  Copyright (c) 2009-2010 Radcodes LLC (http://www.radcodes.com)
 * @license    http://www.radcodes.com/license/
 * @version    $Id$
 * @author     Vincent Van <vincent@radcodes.com>
 */
?>

<div style="padding: 10px; width: 540px;">
  <?php if ($this->error): ?>
    <ul class="form-errors">
      <li><?php echo $this->translate($this->error) ?></li>
    </ul>
    
    <h3><?php echo $this->translate('Manual Installation Guide')?></h3>
    <p>If the plugin failed to update your crossdomain.xml, please follow these steps:</p>
    <br />
    <p>1) Locate the copy of "crossdomain.xml" file inside the plugin's zip package (containing *.tar, license.html, readme.html, crossdomain.xml) that you downloaded.</p>
    <br />
    <p>2) Use your favorite FTP program, and upload it to your SocialEngine installation folder:
    <br />
      <code style="color: red"><?php echo APPLICATION_PATH; ?></code>
    </p>
    <br />
    <?php if ($this->baseUrl()): ?>
    <p>3) If you install SocialEngine under (sub) folder of your domain (ex: http://my-domain.com/community/), 
    you may also need to upload this "crossdomain.xml" file to your web root folder as well (usually "public_html" folder):
    <br />
      <code  style="color: red"><?php echo dirname(APPLICATION_PATH); ?></code>
    </p>
    <?php endif; ?>
    
  <?php else: ?>
	  <ul class="form-notices">
      <li>
        <?php echo $this->translate('Mochi domains added to crossdomain.xml.')?>
      </li>
    </ul>
  <?php endif; ?>
    <br />
    <p>
      <a href='javascript:void(0);' onclick='javascript:parent.window.location.reload( false );' style="font-weight: bold;">
        <?php echo $this->translate("close") ?>
      </a>
    </p>

</div>